# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=uniofuzz
pkgver=1337
pkgrel=5
epoch=2
groups=('blackarch' 'blackarch-fuzzer')
pkgdesc='The universal fuzzing tool for browsers, web services, files, programs and network services/ports'
url='http://nullsecurity.net/tools/fuzzer.html'
arch=('any')
license=('custom:unknown')
source=('https://github.com/nullsecuritynet/tools/raw/main/fuzzer/uniofuzz/release/uniofuzz.py')
sha512sums=('25662e7623fcc4a716111d68c0601de2c2dfea2f7a6ab4355d0001828c9623b6115ad56f4d4a488e4d36f340a5e6e6414df44b08c122920f570d139f0ca6f98c')

prepare() {
  sed -i 's|env python|env python2|' uniofuzz.py
}

package() {
  install -Dm 755 uniofuzz.py "$pkgdir/usr/bin/$pkgname"
}

